import { createRouter, createWebHashHistory, createWebHistory } from "vue-router";
const routes = [
	{
		path: "/",
		redirect: "/login",
	},
	{
		path: "/login",
		name: "login",
		component: () => import("@/views/Login.vue"),
	},
	{
		path: "/home",
		name: "home",
		component: () => import("@/views/Home.vue"),
	},
	{
		path: "/ZhuangXiang/list",
		name: "ZhuangXiangList",
		component: () => import("@/views/YingYong/ZhuangXiang/List.vue"),
	},
	{
		path: "/ZhuangXiang/detail",
		name: "ZhuangXiangDetail",
		component: () => import("@/views/YingYong/ZhuangXiang/Detail.vue"),
	},
	{
		path: "/ZhuangXiang/RenWu/list",
		name: "RenWuList",
		component: () => import("@/views/YingYong/ZhuangXiang/RenWu/List.vue"),
	},
	{
		path: "/ZhuangXiang/RenWu/detail",
		name: "RenWuDetail",
		component: () => import("@/views/YingYong/ZhuangXiang/RenWu/Detail.vue"),
	},
	{
		path: "/ZhuangXiang/RenWu/execute",
		name: "RenWuExecute",
		component: () => import("@/views/YingYong/ZhuangXiang/RenWu/Execute.vue"),
	},
	{
		path: "/ChaXianHeTu",
		name: "ChaXianHeTu",
		component: () => import("@/views/YingYong/ChaXianHeTu.vue"),
	},
	{
		path: "/BiaoJi/ChaoLu",
		name: "BiaoJiChaoLu",
		component: () => import("@/views/YingYong/BiaoJi/ChaoLu.vue"),
	},
	{
		path: "/BiaoJi/HeYan",
		name: "BiaoJiHeYan",
		component: () => import("@/views/YingYong/BiaoJi/HeYan.vue"),
	},
	{
		path: "/TiBaoWenTi",
		name: "TiBaoWenTi",
		component: () => import("@/views/YingYong/TiBaoWenTi.vue"),
	},
];
const router = createRouter({
	history: createWebHistory(),
	routes,
});
export default router;
